package com.enhe.gck.fg;

import org.springframework.stereotype.Repository;
import com.kuangkie.carbon.fg.FuncGroupContext;
import com.kuangkie.carbon.fg.ImproveResultFactory;
import com.kuangkie.carbon.fg.SecondRoundImproveFuncGroup;
import com.kuangkie.carbon.record.FGRecordComplexus;
import com.kuangkie.carbon.record.ProRecord;
import com.enhe.gck.CarbonBaseConstant; //模型Code
import com.enhe.gck.CarbonEnumKeyValue; //枚举字典信息
import com.enhe.gck.CarbonRelationType; //关系类型Code
import com.enhe.gck.item.WeighErrHWANE16734Item; // 模型属性Code

@Repository(value = "hwane16734366042330866425862")
public class WeighErrHWANE16734BNB implements SecondRoundImproveFuncGroup{
	
	@Override
	public void secondImprove(FuncGroupContext context, ProRecord proRecord, FGRecordComplexus recordComplexus,
			ImproveResultFactory improveResultFactory) {
		if(context.getUserCode()!=null){
			improveResultFactory.getCurrentProRecordOpsBuilder()
					.addRelation(CarbonRelationType.RR_过磅异常_处理人_系统用户,context.getUserCode());
		}
	}
}
